{% extends 'base.html' %}

{% block title %}Demand OpenID! - Top Demands{% endblock %}

{% block content %}

<div id="intro">
<span class="larger">  Demand OpenID support from websites you sign in to every day, using a simple bookmarklet.  It's an easy, and active way to spread OpenID.   

{% if not lip %}
 <a href="/login" style="text-decoration:underline;" class="good">Login to get started &rarr;</a></span>
{% endif %}

</div>

<div id="top_websites" class="column">
  <h2>Top Demands</h2>
  <table>
      
    {% for website in websites %}
    <tr>
      <td class="top_vote">{{website.votes}}</td>
      <td class="top_domain"><a href="/site/{{ website.domain|urlencode}}">{{ website.domain|escape }}</a></td>
    </tr>
    {% endfor %}
  </table>

  <br/>

  {% if prev %}
  <a href="/top?page={{prev}}" >&larr;Previous</a>
  {% endif %}
  &nbsp;
  {% if next %}
  <a href="/top?page={{next}}" >Next &rarr;</a>
  {% endif %}
</div>

<div style="clear:both;"></div>

{% endblock %}
